package top.linyuxb.lycloud.gateway.samples.client.controller;

import com.alibaba.fastjson2.JSONObject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/8/26 11:16
 * @Desc:
 */
@RestController
public class CorsController {
    @GetMapping("/clientService")
    public JSONObject clientService() {
        JSONObject json = new JSONObject();
        json.put("name", "张三");
        json.put("school", "惠民小学");
        return null;
    }
}
